package com.yinlixian.frame.admin.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: IndexController
 * @Description:
 * @author: yudm
 * @date: 2017-01-03 21:48
 * @Copyright: 2017 www.yinlixian.com Inc. All rights reserved.
 */
@RestController
public class IndexController {

    @ApiOperation(value = "返回首页信息",notes = "根据登录用户，返回不同的首页内容")
    @RequestMapping(value = "/index",method = RequestMethod.GET)
    public String index() {
        return "Hello World";
    }

}
